
#define  _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>

#include <time.h> 
#include <stdlib.h>

#define LEISHU 80
#define HANG 9
#define LIE 9
#define HANGS HANG+2
#define LIES LIE+2

void denru();
void youxi();
void chushihua(char aap[HANGS][LIES],int hang,int lie,char x);
void daying(char aap[HANGS][LIES], int hang, int lie);
void shanglei(char aap[HANGS][LIES],int hang,int lie);
void shaolei(char lei[HANGS][LIES], char dalei[HANGS][LIES], int hang, int lie);
int mma(char lei[HANGS][LIES],int x,int y);